Repository navigation
Replace icon library with Solar Icons (linear style, stroke 1.8) in window/ui and native - #388
Merged
Merged
Conversation
Replaces lucide-react and inline Lucide SVGs across both window/ui and native with Solar Icons (linear style, stroke-width 1.8) generated from a single build-time source (@iconify-json/solar devDependency): - window/ui/src/solarSlugs.ts + window/ui/scripts/build-solar-icons.mjs generate 35 UI glyphs and 25 bot avatar icons at stroke-width 1.8 into both window/ui/src/solarIcons.generated.ts and native/src/solar_icons_data.rs. - Removes lucide-react from runtime dependencies (Vite modules: 2690 -> 551). - Updates window/ui components and style.css (svg.solar, stroke-width 1.8), native/src/icons.rs, native/src/avatars.rs, native/src/view.rs, and native/src/starters.rs. - Keeps bundled offline simple-icons brand marks for connectors, channels, and installed agents. - Updates the 4 icon-picker golden PNG snapshots and later_starters_metrics.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lucide-reactand inline Lucide SVGs across bothwindow/uiandnativewith Solar Icons (linearstyle,stroke-width: 1.8) generated from a single build-time source (@iconify-json/solar,devDependencyonly).window/ui/src/solarSlugs.tsandwindow/ui/scripts/build-solar-icons.mjs(npm run build:solar-icons), generating 35 UI glyphs and 25 bot avatar icons into bothwindow/ui/src/solarIcons.generated.tsandnative/src/solar_icons_data.rswithstroke-width: 1.8normalized across every icon.lucide-reactfromwindow/ui/package.jsonruntime dependencies (Vite transformed modules dropped from 2,690 to 551).window/uicomponents,style.css(svg.solar,stroke-width: 1.8),native/src/icons.rs,native/src/avatars.rs,native/src/view.rs, andnative/src/starters.rsto the generated Solar Linear icons while preserving the offlinesimple-iconsbrand marks for connectors, channels, and agents.window/ui/src/solarIcons.test.ts,native/src/icons.rs, andnative/src/avatars.rsasserting-linearslugs,stroke-width: 1.8, and valid SVG parsing.Evidence
native-bot-settings-paused-light,native-newbot-light), sidebar shelves, avatars, and starter cards.bot_settingsandnav) and updatednative/tests/later_starters_metrics.rsforsvg.solar.cd window/ui && npm run build && npm test(147/147 tests)cargo fmt --all --checkcargo clippy --workspace --all-targets --locked -- -D warningscargo test --workspace --lockedMerge Danger
window/uiandnative; removes runtimelucide-reactdependency and replaces it with zero-dependency generated React/Rust SVG modules. No protocol, daemon, or sandbox changes.Device decision